// JavaScript Document

<script type="text/javascript">
	$(document).ready(function() {
		$('textarea.tinymce').tinymce({
			// Location of TinyMCE script
			script_url : '/js/tinymce/tiny_mce.js',
			relative_urls : false,
			verify_html : false,
			remove_script_host : true,

			// General options
			theme : "advanced",
			// Theme options
			theme_advanced_buttons1 : "save,tinyautosave,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontsizeselect,forecolor,backcolor,|,bullist,numlist,|,outdent,indent,blockquote,|,link,unlink,image,media,table,code",
			theme_advanced_buttons2 : "",
			theme_advanced_buttons3 : "",
			theme_advanced_buttons4 : "",
			theme_advanced_toolbar_location : "top",
			theme_advanced_toolbar_align : "left",
			theme_advanced_statusbar_location : "bottom",
			theme_advanced_resizing : false,

			// Example content CSS (should be your site CSS)
			content_css : "/css/pagelayouts.css,#request.absolutepath#themes/#request.site_theme#/css/tinymce.css",
			file_browser_callback : 'myFileBrowser',
			accessibility_warnings : false,
    		accessibility_focus : false,
			plugins : "autoresize,contextmenu,autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,advlist,tinyautosave"
		});
	});
</script>